﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Billing.CashDesk
{
    public static class CashDeskSettings
    {
        private static int? paymentPointID = null;
        private static string paymentPointName = null;

        public static string PaymentPointName
        {
            get
            {
                if (paymentPointName == null)
                    paymentPointName = SettingManager.getSetting("paymentPointName");
                return paymentPointName;
            }
        }
        public static int PaymentPointID
        {
            get
            {
                if (paymentPointID == null)
                    paymentPointID = Convert.ToInt32(SettingManager.getSetting("paymentPointID"));

                return paymentPointID.Value;
            }
        }
    }
}
